<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
        <script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
        <script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        <link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet">
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
        <script>
            function Refreshs() {  
                var codewebarr = "";
                $(".check_all:checked").each(function() {  
                    if(codewebarr == "") {
                        codewebarr = $(this).val();
                    } else {
                        codewebarr = codewebarr + "," + $(this).val();
                    }
                });
                if(codewebarr == "") {
                    parent.layer.msg("请选择要刷新的简历！", 2, 8);
                    return false;
                } else {
                    $.post("index.php?m=admin_resume&c=refreshs", {
                        ids: codewebarr,
                        pytoken: $('#pytoken').val()
                    }, function(data) {
                        parent.layer.msg("批量刷新成功！", 2, 9, function() {
                            window.location.reload();
                        });
                    })
                }
            }

            function Export() {
                var codewebarr = "";
                $(".check_all:checked").each(function() {  
                    if(codewebarr == "") {
                        codewebarr = $(this).val();
                    } else {
                        codewebarr = codewebarr + "," + $(this).val();
                    }
                });
                if(codewebarr!='') {
                    $("input[name='ids']").val(codewebarr);
                }
                add_class('选择导出字段', '650', '400', '#export', '');
            }

            function check_xls() {
                var type = "";
                $(".type:checked").each(function() {  
                    if(type == "") {
                        type = $(this).val();
                    } else {
                        type = type + "," + $(this).val();
                    }
                });
                if(type == "") {
                    layer.msg("请选择导出字段！", 2, 8);
                    return false;
                }
                setTimeout(function() {
                    $('.myform').submit()
                }, 0);
                layer.closeAll();
            }

            function checkdel(type, status) {  
                var codewebarr = "";
                $(".check_all:checked").each(function() {  
                    if(codewebarr == "") {
                        codewebarr = $(this).val();
                    } else {
                        codewebarr = codewebarr + "," + $(this).val();
                    }
                });
                if(codewebarr == "") {
                    parent.layer.msg("请选择简历！", 2, 8);
                    return false;
                } else if(type == 'top') {
                    if(status != '1') {
                        $('input[name=s]').attr('checked', 'true');
                    }
                    resumttop(codewebarr, 0);
                } else {
                    $.post("index.php?m=admin_resume&c=rec", {
                        ids: codewebarr,
                        pytoken: $('#pytoken').val(),
                        type: type,
                        status: status
                    }, function(data) {
                        if(data == 0) {
                            parent.layer.msg("操作出错，请稍后再试！", 2, 8);
                        } else {
                            parent.layer.msg("设置成功！", 2, 9, function() {
                                window.location.reload();
                            });
                        }
                    })
                }
            }
            $(document).ready(function() {
				$(".city_name_all").hover(function() {
                    var city_name = $(this).attr('v');
                    if($.trim(city_name) != '') {
                        layer.tips(city_name, this, {
                            guide: 1,
                            style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']
                        });
                        $(".xubox_layer").addClass("xubox_tips_border");
                    }
                }, function() {
                    var city_name = $(this).attr('v');
                    if($.trim(city_name) != '') {
                        layer.closeAll('tips');
                    }
                });

                $(".status").click(function() {
                    var id = $(this).attr("pid");
                    var status = $(this).attr("status");
                    $("#status" + status).attr("checked", true);
                    layui.use(['form'], function() {
                        var form = layui.form;
                        form.render();
                    });
                    $("input[name=id]").val(id);
                    $.get("index.php?m=admin_resume&c=lockinfo&id=" + id, function(msg) {
                        $("#alertcontent").val($.trim(msg));
                        $.layer({
                            type: 1,
                            title: '简历审核',
                            closeBtn: [0, true],
                            border: [10, 0.3, '#000', true],
                            area: ['390px', '240px'],
                            page: {
                                dom: "#info_div"
                            }
                        });
                    });
                });
                
                $(".label").click(function() {
                    var id = $(this).attr("pid");
                    var lable = $(this).attr("status1");
					var content = $(this).attr("status2");
                    var name = $(this).attr("names");
                    $("#labelid").val(id);
                    $("#labels").val(lable);
					$("#content").text(content);
                    $("#labelname").text(name);
                    layui.use(['form'], function() {
                        var form = layui.form;
                        form.render();
                    });
                    $.layer({
                        type: 1,
                        title: '简历备注',
                        closeBtn: [0, true],
                        border: [10, 0.3, '#000', true],
                        area: ['520px', '480px'],
                        page: {
                            dom: "#label_div"
                        }
                    });
                });
            })

            function resumttop(id, topday, topdate) {
                if(topdate) {
                    $(".top").html(topdate);
                    $(".topdiv").show();
                    $("input[name='eid']").val(id);
                    add_class('简历置顶', '290', '250', '#resumttop', '');
                } else {
                    $("input[name='eid']").val(id);
                    add_class('简历置顶', '290', '250', '#resumttop', '');
                }
            }
            function audall(){
				var codewebarr="";
				$(".check_all:checked").each(function(){  
					if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
				});
				if(codewebarr==""){
					parent.layer.msg("您还未选择任何信息！",2,8);return false;
				}else{
					$("input[name=id]").val(codewebarr);
					$("#alertcontent").val('');
					$("input[name=status]").attr("checked",false);
					add_class('批量审核','390','240','#info_div','');
				}
			}
        </script>

        <link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <title>后台管理</title>
    </head>

    <body class="body_ifm">

        <div id="export" style="display:none;">
            <div style=" margin-top:10px;">
                <div>
                    <form action="index.php?m=admin_resume&c=xls" target="supportiframe" method="post" id="formstatus" class="myform">
                        <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
                        <input type="hidden" name="where" value="{yun:}$where{/yun}">
                        <input type="hidden" name="ids">
                        <div class="admin_resume_dc">
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="id"> 简历ID</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="name"> 简历名称</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="uid"> 用户UID</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="name"> 姓名</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="sex"> 性别</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="birthday"> 生日</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="marriage"> 婚姻</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="height"> 身高</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="nationality"> 民族</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="weight"> 体重</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="idcard"> 身份证</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="telphone"> 手机</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="telhome"> 座机</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="email"> 邮件</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="edu"> 教育程度</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="homepage"> 个人主页</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="address"> 详细地址</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="exp"> 工作经验</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="domicile"> 户籍</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="living"> 现居住地</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="description"> 个人说明</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="hy"> 意向行业</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="job_classid"> 意向职位</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="city_classid"> 城市</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="minsalary,maxsalary"> 薪水</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="type"> 工作性质</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="report"> 到岗时间</span></label>
                            <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="rtype[]" value="lastdate"> 更新时间</span></label>
                        </div>

                        <div class="admin_resume_dc_p" style=" padding:10px 0;">
                        	<span class="admin_resume_dc_n">导出数量：</span>
                        	<input name='limit' type='text' class="admin_resume_dc_ntext">
                        	<span class="admin_web_tip admin_resume_dc_tip">数字太大会导致运行缓慢，请慎重填写。</span>
                        </div>
                        
                        <div class="admin_resume_dc_sub" style=" padding-top:10px;">
                            <input type="button" onClick="check_xls();" value='确认' class="admin_resume_dc_bth1"> &nbsp;&nbsp;
                            <input type="button" onClick="layer.closeAll();" class="admin_resume_dc_bth2" value='取消'>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div id="resumttop" style="display:none; ">
            <div class="admin_com_t_box">
                <form action="index.php?m=admin_resume&c=recommend" target="supportiframe" method="post" id="formstatus">
                    <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">

                    <div class=" admin_com_smbox_list_pd">
                        <span class="admin_com_smbox_span">置顶天数：</span>
                        <input class="admin_com_smbox_text" value="" name="addday" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')"><span class="admin_com_smbox_list_s">天</span> </div>
                    <div class="topdiv" style="display:none">
                        <span class="admin_com_smbox_span">当前结束日期：</span>
                        <span class="admin_com_smbox_list_s top" style="color:#f60"></span>
                    </div>
                    <div class="admin_com_smbox_qx_box"> 如需取消置顶简历请单击 <input type="checkbox" name="s" value="1"> 点击确认即可</div>

                    <div class="admin_com_smbox_opt admin_com_smbox_opt_mt"><input type="submit" onclick="loadlayer();" value='确认' id='topsubmit' class="admin_examine_bth"><input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'></div>

                    <input name="eid" type="hidden">
                </form>
            </div>
        </div>
        <div id="info_div" style="display:none; width: 390px; ">
            <div class="" style=" margin-top:10px; ">
                <form class="layui-form" action="index.php?m=admin_resume&c=status" target="supportiframe" method="post" id="formstatus">
                    <table cellspacing='1' cellpadding='1' class="admin_examine_table">
                        <tr>
                            <th width="80">审核操作：</th>
                            <td align="left">
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <input name="status" id="status0" value="0" title="未审核" type="radio" />
                                        <input name="status" id="status1" value="1" title="正常" type="radio" />
                                        <input name="status" id="status3" value="3" title="未通过" type="radio" />
                                    </div>
                                </div>
                            </td>
                        </tr>
                        </tr>
                        <tr>
                            <th>审核说明：</th>
                            <td align="left"> <textarea id="alertcontent" name="statusbody" class="admin_explain_textarea"></textarea> </td>
                        </tr>
                        <tr>
                            <td colspan='2' align="center"><input type="submit" onclick="loadlayer();" value='确认' class="admin_examine_bth">
                                <input type="button" id="zxxCancelBtn" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'></td>
                        </tr>

                        <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
                        <input name="id" value="0" type="hidden">
                    </table>
                </form>
            </div>
        </div>

		<div id="label_div" style="display:none; width: 520px; ">
            <div class="" style=" margin-top:10px; ">
                <form class="layui-form" action="index.php?m=admin_resume&c=label" target="supportiframe" method="post" id="formlabel">
                    <table cellspacing='1' cellpadding='1' class="admin_examine_table" align="center">
                        <tr>
                            <th>姓名：</th>
                            <td align="left">
                                <div id="labelname" style="font-weight:bold;"></div>
                            </td>
                        </tr>
                        <tr>
                            <th>简历标签：</th>
                            <td align="left">
                                <select name="label" lay-filter="" id="labels">
                                    <option value="">请选择标签</option>
                                    {yun:}foreach from=$userdata.user_label key=j item=v{/yun}
                                    <option value="{yun:}$v{/yun}" {yun:}if $resume.report==$v{/yun}selected="selected" {yun:}/if{/yun}>{yun:}$userclass_name[$v]{/yun}</option>
                                    {yun:}/foreach{/yun}
                                </select>
                            </td>
                        </tr>
						<tr>
                            <th>客服评价：</th>
                            <td align="left">
                                <textarea id="content" name="content" class="admin_explain_textarea" style="width:390px;height:240px;"></textarea> 
                            </td>
                        </tr>
                        <tr height="50px">
                            <td colspan='2' align="center"><input type="submit" onclick="loadlayer();" value='确认' class="admin_examine_bth">
                                <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'></td>
                        </tr>
                        <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
                        <input name="id" id="labelid" value="0" type="hidden">
                    </table>
                </form>
            </div>
        </div>

        <div class="infoboxp">
            <div class="admin_new_tip">
                <a href="javascript:;" class="admin_new_tip_close"></a>
                <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
                <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
                <div class="admin_new_tip_list_cont">
                    <div class="admin_new_tip_list">该页面展示了网站所有的个人简历管理信息，可对个人简历进行审核，修改，刷新，预览，删除操作。</div>
                    <div class="admin_new_tip_list">未审核个人名称后有信息标识，对简历进行审核等操作时请注意。</div>
                    <div class="admin_new_tip_list">可输入名称关键字进行搜索，也可进行详细的高级搜索。</div>
                </div>	
            </div>

            <div class="clear"></div>

            <div class="admin_new_search_box">
                <form action="index.php" name="myform" method="get">
                    <input name="m" value="admin_resume" type="hidden" />
                    <input type="hidden" name="salary" value="{yun:}$smarty.get.salary{/yun}" />
                    <input type="hidden" name="type" value="{yun:}$smarty.get.type{/yun}" />
                    <input type="hidden" name="report" value="{yun:}$smarty.get.report{/yun}" />
                    <div class="admin_new_search_name">搜索类型：</div>
                    <div class="admin_Filter_text formselect" did='dkeytype'>
                        <input type="button" {yun:}if $get_type.keytype=='' ||$get_type.keytype=='1' {/yun} value="简历名称" {yun:}elseif $get_type.keytype=='2' {/yun} value="用户姓名" {yun:}elseif $get_type.keytype=='3' {/yun} value="简历ID" {yun:}elseif $get_type.keytype=='4' {/yun} value="毕业院校" {yun:}elseif $get_type.keytype=='5' {/yun} value="工作经历" {yun:}/if{/yun} class="admin_Filter_but" id="bkeytype">
                        <input type="hidden" name="keytype" id="keytype" {yun:}if $get_type.keytype=='' ||$get_type.keytype=='1' {/yun} value="1" {yun:}elseif $get_type.keytype=='2' {/yun} value="2" {yun:}elseif $get_type.keytype=='3' {/yun} value="3" {yun:}elseif $get_type.keytype=='4' {/yun} value="4" {yun:}elseif $get_type.keytype=='5' {/yun} value="5" {yun:}/if{/yun}/>
                        <div class="admin_Filter_text_box" style="display:none" id="dkeytype">
                            <ul>
                                <li>
                                    <a href="javascript:void(0)" onClick="formselect('1','keytype','简历名称')">简历名称</a>
                                </li>
                                <li>
                                    <a href="javascript:void(0)" onClick="formselect('2','keytype','用户姓名')">用户姓名</a>
                                </li>
                                <li>
                                    <a href="javascript:void(0)" onClick="formselect('3','keytype','简历ID')">简历ID</a>
                                </li>
                                <li>
                                    <a href="javascript:void(0)" onClick="formselect('4','keytype','毕业院校')">毕业院校</a>
                                </li>
                                <li>
                                    <a href="javascript:void(0)" onClick="formselect('5','keytype','工作经历')">工作经历</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <input type="text" value="" placeholder="请输入你要搜索的关键字" name='keyword' class="admin_new_text">
                    <input type="submit" value="搜索" name='search' class="admin_new_bth">
                    <a href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();" class="admin_new_search_gj">高级搜索</a>
                    <a href="index.php?m=admin_resume&c=addresume" class="admin_new_cz_tj"> + 添加简历</a>
                </form>
                {yun:}include file="admin/admin_search.htm"{/yun}
            </div>
            <div class="clear"></div>
			
			<div class="admin_statistics">
				数据统计：
				<em class="admin_statistics_s">总数：<span class="ajaxresumeall">0</span></em>
				<em class="admin_statistics_s">未审核：<span class="ajaxresumestatus1">0</span></em>
				<em class="admin_statistics_s">未通过：<span class="ajaxresumestatus2">0</span></em>
				<em class="admin_statistics_s">已锁定：<span class="ajaxresumestatus3">0</span></em>
				搜索结果：<span>{yun:}$total{/yun}</span>；
  			</div>

            <div class="table-list">
                <div class="admin_table_border">

                    <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
                    <form action="index.php" target="supportiframe" name="myform" method="get" id='myform'>
                        <input name="m" value="admin_resume" type="hidden" />
                        <input name="c" value="del" type="hidden" />
                        <table width="100%">
                            <thead>
                                <tr class="admin_table_top">
                                    <th style="width:20px;">
                                        <label for="chkall"><input type="checkbox" id='chkAll'  onclick='CheckAll(this.form)'/></label>
                                    </th>
                                    <th width="60"> {yun:}if $smarty.get.t=="id" && $smarty.get.order=="asc"{/yun}
                                        <a href="index.php?m=admin_resume&order=desc&t=id">简历ID<img src="images/sanj.jpg" /></a> {yun:}else{/yun}
                                        <a href="index.php?m=admin_resume&order=asc&t=id">简历ID<img src="images/sanj2.jpg" /></a> {yun:}/if{/yun} </th>
                                    <th width="100" align="left">姓名/用户名</th>

                                   
                                    <th align="left">期望岗位</th>
                                    <th align="left">期望城市</th>
                                    <th align="left" width="90">完整度</th>
                                    <th> 
										{yun:}if $smarty.get.t=="time" && $smarty.get.order=="asc"{/yun}
											<a href="index.php?m=admin_resume&order=desc&t=time">更新时间 <img src="images/sanj.jpg" /></a>
										{yun:}else{/yun}
											<a href="index.php?m=admin_resume&order=asc&t=time">更新时间 <img src="images/sanj2.jpg" /></a> 
										{yun:}/if{/yun} 
									</th>

									<th> 
										{yun:}if $smarty.get.t=="ctime" && $smarty.get.order=="asc"{/yun}
											<a href="index.php?m=admin_resume&order=desc&t=ctime">发布时间 <img src="images/sanj.jpg" /></a>
										{yun:}else{/yun}
											<a href="index.php?m=admin_resume&order=asc&t=ctime">发布时间 <img src="images/sanj2.jpg" /></a> 
										{yun:}/if{/yun} 
									</th>

                                    <th>来源</th>
                                    <th>审核状态</th>
                                    <th>推广</th>
									<th>备注</th>
									<th class="admin_table_th_bg">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                {yun:}foreach item=v key=key from=$rows{/yun}
                                <tr align="center" {yun:}if ($key+1)%2=='0' {/yun}class="admin_com_td_bg" {yun:}/if{/yun} id="list{yun:}$v.id{/yun}">
                                    <td>
										<input type="checkbox" value="{yun:}$v.id{/yun}" class="check_all" name='del[]' onclick='unselectall()' rel="del_chk" />
									</td>
                                    <td align="left" class="td1" style="text-align:center;"><span>{yun:}$v.id{/yun}</span></td>
                                    <td class="gd" align="left">
                                        <div class="">
											{yun:}$v.uname{/yun}

											{yun:}if $v.rstatus!=1{/yun}
												<a href="javascript:void(0)" class="job_name_all"  v="{yun:}if $v.rstatus==0{/yun}个人未审核{yun:}elseif $v.rstatus==3{/yun}审核未通过{yun:}elseif $v.rstatus==2{/yun}用户已锁定{yun:}/if{/yun}">
													<img src="images/bg_wechat_help.png">
												</a>
											{yun:}/if{/yun}
										</div>
                                        
										<div class="mt8">
                                            <a href="index.php?m=user_member&c=Imitate&uid={yun:}$v.uid{/yun}" target="_blank" class="admin_com_name">{yun:}$v.username{/yun}</a>
                                        </div>
                                    </td>
									
									<td class="od" align="left">
                                        <div class="">
                                            <span class="admin_resume_yx">{yun:}$v.name|mb_substr:0:12{/yun}</span>
                                        </div>
                                        <div class="mt5">
                                            <span>{yun:}if $v.sex_n{/yun}{yun:}$v.sex_n{/yun}{yun:}/if{/yun}{yun:}if $v.edu_n{/yun} {yun:}$v.edu_n{/yun}{yun:}/if{/yun}{yun:}if $v.exp_n{/yun} {yun:}$v.exp_n{/yun}{yun:}/if{/yun}</span>
                                        </div>
                                    </td>
									<td class="od" align="left">
                                        <div class="">
                                            <span class="admin_resume_yx">{yun:}if $v.cityid_n{/yun}{yun:}$v.cityid_n{/yun}</span> {yun:}if $v.citynum>1{/yun}
                                            <a href="javascript:void(0)" class="city_name_all" v="{yun:}$v.city_class_name{/yun}"><img src="images/bg_wechat_help.png"></a>
                                            {yun:}/if{/yun} {yun:}/if{/yun}
                                        </div>
                                        <div class="mt5">
                                            <span>{yun:}if $v.minsalary&&$v.maxsalary{/yun}￥{yun:}$v.minsalary{/yun}-{yun:}$v.maxsalary{/yun}{yun:}else if $v.minsalary{/yun}￥{yun:}$v.minsalary{/yun}以上{yun:}else{/yun}面议{yun:}/if{/yun}</span>,{yun:}$v.report_n{/yun},{yun:}$v.type_n{/yun}
                                        </div>
                                    </td>

                                    <td class="ud" align="left">
                                        <div class="layui-progress layui-progress-big" lay-showpercent="true">
                                            <div class="layui-progress-bar" lay-percent="{yun:}$v.integrity{/yun}%"></div>
                                        </div>
                                    </td>

                                    <td>{yun:}$v.lastupdate|date_format:"%Y-%m-%d"{/yun}
                                        <a href="javascript:void(0)" onClick="layer_del('确认刷新？', 'index.php?m=admin_resume&c=refresh&id={yun:}$v.id{/yun}');" title="刷新"><img src="images/newsx.png"></a>
                                    </td>

									<td>
										{yun:}if $v.ctime{/yun}
											{yun:}$v.ctime|date_format:"%Y-%m-%d"{/yun}
										{yun:}else{/yun}
											{yun:}$v.lastupdate|date_format:"%Y-%m-%d"{/yun}
										{yun:}/if{/yun}
									</td>
                                    
									<td>
										<div>{yun:}$source[$v.source]{/yun}</div>
										{yun:}if $v.doc==1{/yun}【粘贴简历】{yun:}/if{/yun}
									</td>
                                    <td>{yun:}if $v.r_status=='1'{/yun}<span class="admin_com_Audited">已审核</span>{yun:}elseif $v.r_status=='2'{/yun}<span class="admin_com_Lock">已锁定</span>{yun:}elseif $v.r_status=='3'{/yun}<span class="admin_com_tg">未通过</span>{yun:}else{/yun}<span class="admin_com_noAudited">未审核</span>{yun:}/if{/yun}</td>
                                    <td>
                                        推荐：
                                        <div class="admin_new_t_j" style="display:inline;" id="rec_resume{yun:}$v.id{/yun}">
                                            {yun:}if $v.rec_resume=="1"{/yun}
                                            <a href="javascript:void(0);" onClick="rec_up('index.php?m=admin_resume&c=recommend','{yun:}$v.id{/yun}','0','rec_resume');">
                                                <img src="../config/ajax_img/doneico.gif"></a>
                                            {yun:}else{/yun}
                                            <a href="javascript:void(0);" onClick="rec_up('index.php?m=admin_resume&c=recommend','{yun:}$v.id{/yun}','1','rec_resume');">
                                                <img src="../config/ajax_img/errorico.gif"></a>
                                            {yun:}/if{/yun}
                                        </div>
                                        <div class="admin_new_t_j" id="top{yun:}$v.id{/yun}">
                                            置顶： {yun:}if $v.top=="1"&&$v.topdate>time(){/yun}
                                            <a href="javascript:void(0);" onClick="resumttop('{yun:}$v.id{/yun}','{yun:}$v.top_day{/yun}','{yun:}$v.topdate|date_format:" %Y-%m-%d "{/yun}')">
                                                <img src="../config/ajax_img/doneico.gif"></a>
                                            {yun:}else{/yun}
                                            <a href="javascript:void(0);" onClick="resumttop('{yun:}$v.id{/yun}','{yun:}$v.top_day{/yun}')">
                                                <img src="../config/ajax_img/errorico.gif"></a>
                                            {yun:}/if{/yun}
                                        </div>
                                    </td>
                                    <td align="center">
                                         <div style="margin-bottom:5px;">
										{yun:}if $v.label|| $v.content{/yun}
											<a href="javascript:;" class="admin_new_c_bth admin_new_c_bth_yl label" pid="{yun:}$v.id{/yun}" names="{yun:}$v.uname{/yun}" status1="{yun:}$v.label{/yun}" status2="{yun:}$v.content{/yun}">查看</a>
										{yun:}else{/yun}
											<a href="javascript:;" class="admin_new_c_bth label" pid="{yun:}$v.id{/yun}" names="{yun:}$v.uname{/yun}" status1="{yun:}$v.label{/yun}" status2="{yun:}$v.content{/yun}">备注</a>
										{yun:}/if{/yun}
										</div>
										
									</td>
									<td>
										<div>
										<a href="{yun:}url m=resume c=show id='`$v.id`' look=admin{/yun}" target="_blank" class="admin_new_c_bth admin_new_c_bth_yl">预览</a>
										<a href="javascript:;" class="admin_new_c_bth admin_new_c_bthsh status" pid="{yun:}$v.id{/yun}" status="{yun:}$v.r_status{/yun}">审核</a>
										</div>
										<div><a href="index.php?m=admin_resume&c=saveresume&uid={yun:}$v.uid{/yun}&e={yun:}$v.id{/yun}" class="admin_new_c_bth ">修改</a>
										<a href="javascript:void(0)" onclick="layer_del('确定要删除？', 'index.php?m=admin_resume&c=del&del={yun:}$v.id{/yun}-{yun:}$v.uid{/yun}');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a></div>
									</td>
								</tr>
								{yun:}/foreach{/yun}
								<tr>
									<td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
									<td colspan="14">
										<label for="chkAll2">全选</label>&nbsp;
										<input class="admin_button" type="button" name="delsub" value="删除" onClick="return really('del[]')" />
										<input class="admin_button" type="button" name="delsub" value="审核" onClick="audall('1');" />
										<input class="admin_button" type="button" name="delsub" value="刷新" onClick="Refreshs();" />
										<input class="admin_button" type="button" name="delsub" value="推荐" onClick="checkdel('rec_resume','1');" />
										<input class="admin_button" type="button" name="delsub" value="取消推荐" onClick="checkdel('rec_resume','0');" />
										<input class="admin_button" type="button" name="delsub" value="置顶" onClick="checkdel('top','1');" />
										<input class="admin_button" type="button" name="delsub" value="取消置顶" onClick="checkdel('top','0');" />
										<input class="admin_button" type="button" name="delsub" value="导出" onClick="Export();" />
									</td>
 								</tr>																																	
								{yun:}if $total > $config.sy_listnum {/yun}
									<tr>
										{yun:}if $pagenum==1{/yun}
											<td colspan="3"> 从 1 到 {yun:}$config.sy_listnum {/yun} ，总共 {yun:}$total{/yun} 条</td>
										{yun:}else if $pagenum > 1 && $pagenum < $pages{/yun}
											<td colspan="3"> 从 {yun:}($pagenum-1) * $config.sy_listnum + 1{/yun} 到 {yun:}$pagenum * $config.sy_listnum{/yun} ，总共 {yun:}$total{/yun} 条</td>
										{yun:}else if $pagenum == $pages{/yun}
											<td colspan="3"> 从 {yun:}($pagenum-1) * $config.sy_listnum + 1{/yun} 到 {yun:}$total{/yun} ，总共 {yun:}$total{/yun} 条</td>
										{yun:}/if{/yun}
										<td colspan="12" class="digg">{yun:}$pagenav{/yun}</td>
									</tr>
								{yun:}/if{/yun}
							</tbody>
						</table>
						<input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
					</form>
				</div>
			</div>
        </div>
        <script type="text/javascript">
            layui.use(['layer', 'form', 'element'], function() {
                var layer = layui.layer,
                    form = layui.form,
                    $ = layui.$,
                    element = layui.element;

                 
                var active = {
                    loading: function(othis) {
                        var DISABLED = 'layui-btn-disabled';
                        if(othis.hasClass(DISABLED)) return;
                    }
                };
            });

			$(document).ready(function(){
				$(".job_name_all").hover(function(){
					var rstatus=$(this).attr('v');
					if($.trim(rstatus)!=''){
						layer.tips(rstatus, this, {guide: 1, style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']}); 
						$(".xubox_layer").addClass("xubox_tips_border");
					} 
				},function(){
					var rstatus=$(this).attr('v'); 
					if($.trim(job_name)!=''){
						layer.closeAll('tips');
					} 
				});
			});

			$(document).ready(function(){
				$.get("index.php?m=admin_resume&c=resumeNum", function(data) {
					var datas = eval('(' + data + ')');
					if(datas.resumeAllNum) {
						$('.ajaxresumeall').html(datas.resumeAllNum);
					}
					if(datas.resumeStatusNum1) {
						$('.ajaxresumestatus1').html(datas.resumeStatusNum1);
					}
					if(datas.resumeStatusNum2) {
						$('.ajaxresumestatus2').html(datas.resumeStatusNum2);
					}
					if(datas.resumeStatusNum3) {
						$('.ajaxresumestatus3').html(datas.resumeStatusNum3);
					}
				});
			});
        </script>
    </body>

</html>